GetDispatchModule
TheGetDispatchModule
method returns a reference to the dispatch module for the specified event type.
ODDispatchModule GetDispatchModule ( in ODEventType eventType);
eventType
- A platform-specific event code that specifies the type of event handled by the requested dispatch module. On the Mac OS platform, the event code is defined as an unsigned 16-bit value.
- return value
- A reference to the dispatch module for the specified event type, or
kODNULL
if the event type is not associated with an existing dispatch module.DISCUSSION
Though not highly recommended, this method might be called to patch a dispatch module. Patching occurs when the creator of the new dispatch module saves the existing dispatch module and then installs its own replacement dispatch module that calls the original. Your part editor calls this method to save the existing dispatch module so it can delegate to that dispatch module when necessary; this method is not called by most parts.SEE ALSO
TheODEventType
type (page 892).
TheODDispatcher::AddDispatchModule
method (page 113).
TheODDispatcher::RemoveDispatchModule
method (page 121).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help